Speech processing method and apparatus

ABSTRACT

A speech synthesis method comprising:
         receiving a text input and outputting speech corresponding to said text input using a stochastic model, said stochastic model comprising an acoustic model and an excitation model, said acoustic model having a plurality of model parameters describing probability distributions which relate a word or part thereof to a feature, said excitation model comprising excitation model parameters which are used to model the vocal chords and lungs to output the speech using said features;   wherein said acoustic parameters and excitation parameters have been jointly estimated; and   outputting said speech.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is based upon and claims the benefit of priority from UK application number 1007705.5 filed on May 7, 2010, the entire contents of which are incorporated herein by reference.

FIELD

Embodiments of the present invention described herein generally relate to the field of speech synthesis.

BACKGROUND

An acoustic model is used as the backbone of the speech synthesis. An acoustic model is used to relate a sequence of words or parts of words to a sequence of feature vectors. In statistical parametric speech synthesis, an excitation model is used in combination with the acoustic model. The excitation model is used to model the action of the lungs and vocal chords in order to output speech which is more natural.

In known statistical speech synthesis, features, such as cepstral coefficients are extracted from speech waveforms and their trajectories and modelled by a statistical model, such as a Hidden Markov Model (HMM). The parameters of the statistical model are estimated so as to maximize its likelihood to the training data or minimize an error between training data and generated features. At the synthesis stage, a sentence-level model is composed from the estimated statistical model according to an input text, and then features are generated from such sentence model so as to maximize their output probabilities or minimize an objective function.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will now be described with reference to the following non-limiting embodiments in which:

FIG. 1 is a schematic of a very basic speech synthesis system;

FIG. 2 is a schematic of the architecture of a processor configured for text-to-speech synthesis;

FIG. 3 is a block diagram of a speech synthesis system, the parameters of which are estimated in accordance with an embodiment of the present invention;

FIG. 4 is a plot of a Gaussian distribution relating a particular word or part thereof to an observation;

FIG. 5 is a flow diagram showing the initialisation steps in a method of training a speech synthesis model in accordance with an embodiment of the present invention;

FIG. 6 is a flow diagram showing the recursion steps in a method of training a speech synthesis model in accordance with an embodiment of the present invention; and

FIG. 7 is a flow diagram showing a method of speech synthesis in accordance with an embodiment of the present invention.

DETAILED DESCRIPTION

Current speech synthesis systems often use a source filter model. In this model, an excitation signal is generated and filtered. A spectral feature sequence is extracted from speech and utilized to separately estimate acoustic model and excitation model parameters. Therefore, spectral features are not optimized by taking into account the excitation model and vice versa.

The inventors of the present invention have taken a completely different approach to the problem of estimating the acoustic and excitation model parameters and in an embodiment provide a method in which acoustic model parameters are jointly estimated with excitation model parameters in a way to maximize the likelihood of the speech waveform.

According to an embodiment, it is presumed that speech is represented by the convolution of a slowly varying vocal tract impulse response filter derived from spectral envelope features, and an excitation source. In the proposed approach extraction of spectral features is integrated in the interlaced training of acoustic and excitation models. Estimation of parameters of the models in question based on the maximum likelihood (ML) criterion can be viewed as full-fledge waveform level closed-loop training with the implicit minimization of the distance between natural and synthesized speech waveforms.

In an embodiment, a joint estimation of acoustic and excitation models for statistical parametric speech synthesis is based on maximum likelihood. The resulting system becomes what can be interpreted as a factor analyzed trajectory HMM. The approximations made for the estimation of the parameters of the joint acoustic and excitation model comprise fixing the state sequence fixed along the training and derivation of a one-best spectral coefficient vector.

In an embodiment, parameters of the acoustic model are updated by taking into account the excitation model, and parameters of the latter are calculated assuming spectrum generated from the acoustic model. The resulting system connects spectral envelope parameter extraction and excitation signal modelling in a fashion similar to factor analyzed trajectory HMM. The proposed approach can be interpreted as a waveform level closed-loop training to minimize the distance between natural and synthesized speech.

In an embodiment, acoustic and excitation models are jointly optimized from the speech waveform directly in a statistical framework.

Thus, the parameters are jointly estimated as:

${\hat{\lambda} = {\arg \; {\max\limits_{\lambda}{p\left( {{sl},\lambda} \right)}}}},$

where λ represents the parameters of the excitation model and acoustic model to be optimised, s is the natural speech waveform and l is a transcription of the speech waveform.

In an embodiment, the above training method can be applied to text-to-speech (TTS) synthesizers constructed according to the statistical parametric principle. Consequently, it can also be applied to any task in which such TTS systems are embedded, such as speech-to-speech translation and spoken dialog systems.

In one embodiment a source filter model is used where said text input is processed by said acoustic model to output F0 (fundamental frequency) and spectral features, the method further comprising: processing said F0 features to form a pulse train and filtering said pulse train using excitation parameters derived from said excitation model to produce an excitation signal and filtering said excitation signal using filter parameters derived from said spectral features.

The acoustic model parameters may comprise means and variances of said probability distributions. Examples of the features output by said acoustic model are F0 features and spectral features.

The excitation model parameters may comprise filter coefficients which are configured to filter a pulse signal derived from F0 features and white noise.

In an embodiment, said joint estimation process comprises a recursive process where in one step excitation parameters are updated using the latest estimate of acoustic parameters and in another step acoustic model parameters are updated using the latest estimate of excitation parameters. Preferably, said joint estimation process uses a maximum likelihood technique.

In a further embodiment, said stochastic model further comprises a mapping model and said mapping model comprises mapping model parameters, said mapping model being configured to map spectral features to filter coefficients which represent the human vocal tract. Preferably the relationship between the spectral features and filter coefficients is modelled as a Gaussian process.

Embodiment of the present invention can be implemented either in hardware or on software in a general purpose computer. Further the present invention can be implemented in a combination of hardware and software. The present invention can also be implemented by a single processing apparatus or a distributed network of processing apparatuses.

Since the present invention can be implemented by software, the present invention encompasses computer code provided to a general purpose computer on any suitable carrier medium. The carrier medium can comprise any storage medium such as a floppy disk, a CD ROM, a magnetic device or a programmable memory device, or any transient medium such as any signal e.g. an electrical, optical or microwave signal.

FIG. 1 is a schematic of a very basic speech processing system, the system of FIG. 1 has been configured for speech synthesis. Text is received via unit 1. Unit 1 may be a connection to the interne, a connection to a text output from a processor, an input from a speech to speech language processing module, a mobile phone etc. The unit 1 could be substituted by a memory which contains text data previously saved.

The text signal is then directed into a speech processor 3 which will be described in more detail with reference to FIG. 2.

The speech processor 3 takes the text signal and turns it into speech corresponding to the text signal. Many different forms of output are available. For example, the output may be in the form of a direct audio output 5 which outputs to a speaker. This could be implemented on a mobile telephone, satellite navigation system etc. Alternatively, the output could be saved as an audio file and directed to a memory. Also, the output could be in the form of an electronic audio signal which is provided to a further system 9.

FIG. 2 shows the basic architecture of a text to speech system 51. The text to speech system 51 comprises a processor 53 which executes a program 55. Text to speech system 51 further comprises storage 57. The storage 57 stores data which is used by program 55 to convert text to speech. The text to speech system 51 further comprises an input module 61 and an output module 63. The input module 61 is connected to a text input 65. Text input 65 receives text. The text input 65 may be for example a keyboard. Alternatively, text input 65 may be a means for receiving text data from an external storage medium or a network.

Connected to the output module 63 is output for audio 67. The audio output 67 is used for outputting a speech signal converted from text input into text input 63. The audio output 67 may be for example a direct audio output e.g. a speaker or an output for an audio data file which may be sent to a storage medium, networked etc.

In use, the text to speech system 51 receives text through text input 63. The program 55 executed on processor 53 coverts the text into speech data using data stored in the storage 57. The speech is output via the output module 65 to audio output 67.

FIG. 3 is a schematic of a model of speech generation. The model has two sub-models: an acoustic model 101, and an excitation model 103.

Acoustic models where a word or part thereof are converted to features or feature vectors are well known in the art of speech synthesis. In this embodiment, an acoustic model is used which is based on a Hidden Markov Model (HMM). However, other models could also be used.

The actual model used in this embodiment is a standard model, the details of which are outside the scope of this patent application. However, the model will require the provision of probability density functions (pdfs) which relate to the probability of an observation represented by a feature vector being related to a word or part thereof. Generally, this probability distribution will be a Gaussian distribution in n-dimensional space.

A schematic example of a generic Gaussian distribution is shown in FIG. 4. Here, the horizontal axis corresponds to a parameter of the input vector in one dimension and the probability distribution is for a particular word or part thereof relating to the observation. For example, in FIG. 4, an observation corresponding to a feature vector x has a probability p1 of corresponding to the word whose probability distribution is shown in FIG. 4. The shape and position of the Gaussian is defined by its mean and variance. These parameters are determined during training for the vocabulary which the acoustic model, they will be referred to as the “model parameters” for the acoustic model.

The text which is to be output into speech is first converted into phone labels. A phone label comprises a phoneme with contextual information about that phoneme. Examples of contextual information are the preceding and succeeding phonemes, the position within a word of the phoneme, the position of the word in a sentence etc. The phoneme labels are then input into the acoustic model.

The output of acoustic model HMM, once the model parameters have been determined, the model can be used to determine the likelihood of a sequence of observations corresponding to a sequence of words or parts of words.

In this particular embodiment, the features which are the output of acoustic model 101 are F0 features and spectral features. In this embodiment, the spectral features are cepstral coefficients. However, in other embodiments other spectral features could be used such as linear prediction coefficients (LPC), line spectral pairs (LSPs) and their frequency warped versions.

The spectral features are converted to form vocal tract filter coefficients expressed as h_(c)(n).

The generated F0 features are converted into a pulse train sequence t(n) and according to the F0 values, periods between pulse trains are determined.

The pulse train is a sequence of signals in the time domain, for example:

0100010000100 where 1 is pulse. The human vocal cord vibrates to generate periodic signals for voiced speech. The pulse train sequence is used to approximate these periodic signals.

A white noise excitation sequence w(n) is generated from white noise generator (not shown).

A pulse train t(n) and white noise sequences w(n) are filtered by excitation model parameters H_(v)(z) and H_(u)(z) respectively. The excitation model parameters are produced from excitation model 105. H_(v)(z) represents the voiced impulse response filter coefficients and is sometimes referred to as the “glottis filter” since it represents the action of the glottis. H_(u)(z) represents the unvoiced filter response coefficients. H_(v)(z) and H_(u)(z) together are excitation parameters which model the lungs and vocal chords.

Voiced excitation signal v(n) which is a time domain signal is produced from the filtered pulse train and unvoiced excitation signal u(n) which is also a time domain signal is produced from the white noise w(n). These signal v(n) and u(n) are mixed (added) to compose the mixed excitation signals in time domain, e(n).

Finally, excitation signals e(n) are filtered by impulse response H_(c)(z) derived from the spectral features derived as explained above to obtain speech waveform s(n).

In a speech synthesis software product, the product comprises a memory which contains coefficients of H_(v)(z) and H_(u)(z) along with the acoustic model parameters such as means and variances. The product will also contain data which allows spectral features outputted from the acoustic model to be converted to H_(c)(z). When the spectral features are cepstral coefficients, the conversion of the spectral features to H_(c)(z) is deterministic and not dependent on the nature of the data used to train the stochastic model. However, if the spectral features comprise other features such as linear prediction coefficients (LPC), line spectral pairs (LSPs) and their frequency warped versions, then the mapping between the spectral features and H_(c)(z) is not deterministic and needs to be estimated when the acoustic and excitation parameters are estimated. However, regardless of whether the mapping between the spectral features and H_(c)(z) is deterministic or estimated using a mapping model, in a preferred embodiment, a software synthesis product will just comprise the information needed to convert spectral features to H_(c)(z).

Training of a speech synthesis system involves estimating the parameters of the models. In the above system, the acoustic, excitation and mapping model parameters are to be estimated. However, it should be noted that the mapping model parameters can be removed and this will be described later.

In a training method in accordance with an embodiment of the present invention, the acoustic model parameters and the excitation model parameters are estimated at the same time in the same process.

To understand the differences, first a conventional framework for estimating these parameters will be described.

In known statistical parametric speech synthesis, first a “super-vector” of speech features c=[c₀ ^(T) . . . c_(T−1) ^(T)]^(T) is extracted from the speech waveform, where c_(t)=[c_(t)(0) . . . c_(t)(C)]^(T) is a C-th order speech parameter vector at frame t, and T is the total number of frames. Estimation of acoustic model parameters is usually done through the ML criterion:

$\begin{matrix} {{{\hat{\lambda}}_{c} = {\arg \; {\max\limits_{\lambda_{c}}{p\left( {{cl},\lambda_{c}} \right)}}}},} & (1) \end{matrix}$

where l is a transcription of the speech waveform and λ_(c) denotes a set of acoustic model parameters.

During the synthesis, a speech feature vector c′ is generated for a given text to be synthesized l′ so as to maximize its output probability

$\begin{matrix} {{\hat{c}}^{\prime} = {\arg \; {\max\limits_{c^{\prime}}{{p\left( {{c^{\prime}l^{\prime}},{\hat{\lambda}}_{c}} \right)}.}}}} & (2) \end{matrix}$

These features together with F₀ and possibly duration, are utilized to generate speech waveform by using the source-filter production approach as described with reference to FIG. 3.

A training method in accordance with an embodiment of the present invention uses a different approach. Since the intention of any speech synthesizer is to mimic the speech waveform as well as possible, in an embodiment of the present invention a statistical model defined at the waveform level is proposed The parameters of the proposed model are estimated so as to maximize the likelihood of the waveform itself, i.e.,

$\begin{matrix} {{\hat{\lambda} = {\arg \; {\max\limits_{\lambda}{p\left( {{sl},\lambda} \right)}}}},} & (3) \end{matrix}$

where s=[s(0) . . . s(N−1)]^(T) is a vector containing the entire speech waveform, s(n) is a waveform value at sample n, N is the number of samples, and λ denotes the set of parameters of the joint acoustic-excitation models.

By introducing two hidden variables: the state sequence q={q₀, . . . , q_(T−1)} (discrete) spectral parameter c=[c₀ ^(T) . . . C_(T−1) ^(T)]_(T) (continuous), Eq. (3) can be rewritten as:

$\begin{matrix} \begin{matrix} {\hat{\lambda} = {\arg \; {\max\limits_{\lambda}{\sum\limits_{\forall q}^{\;}\; {\int_{\;}^{\;}{{p\left( {s,c,{ql},\lambda} \right)}\ {c}}}}}}} \\ {{= {\arg \; {\max\limits_{\lambda}{\sum\limits_{\forall q}^{\;}{\int_{\;}^{\;}{{p\left( {{sc},q,\lambda} \right)}{p\left( {{cq},\lambda} \right)}{p\left( {{ql},\lambda} \right)}\ {c}}}}}}},} \end{matrix} & \begin{matrix} \begin{matrix} (4) \\ \; \end{matrix} \\ (5) \end{matrix} \end{matrix}$

where q_(t) is the state at frame t.

Terms p(s|c,q,λ), and p(c|q,λ) and p(q|l,λ) of Eq. (5) can be analysed separately as follows:

-   -   p(s|c,q,λ): This probability concerns the speech waveform         generation from spectral features and a given state sequence.         The maximization of this probability with respect to λ is         closely related to the ML estimation of spectral model         parameters. This probability is related to the assumed speech         signal generative model.     -   p(c|q,λ): This probability is given as the product of         state-output probabilities of speech parameter vectors if HMMs         or hidden semi-Markov models (HSMMs) are used as its acoustic         model. If trajectory HMMs are used, this probability is given as         a state-sequence-output probability of entire speech parameter         vector.     -   p(q|l,λ): This probability gives the probability of state         sequence q for a transcription l. If HMM or trajectory HMM is         used as acoustic model, this probability is given as a product         of state-transition probabilities. If HSMM or trajectory HSMM is         used, it includes both state-transition and state-duration         probabilities.

It is possible to model p(c|q,λ) and p(q|l,λ) using existing acoustic models, such as HMM, HSMM or trajectory HMMs, the problem is how to model p(s|c,q,λ).

It is assumed that the speech signal is generated according to the diagram of FIG. 4, i.e.,

s(n)=h _(c)(n)*[h _(v)(n)*t(n)+h _(u)(n)*w(n)],  (6)

where * denotes linear convolution and

-   -   h_(c)(n): is the vocal tract filter impulse response;     -   t(n): is a pulse train;     -   w(n): is a Gaussian white noise sequence with mean zero and         variance one;     -   h_(v)(n): is the unvoiced filter impulse response;     -   h_(u)(n): is the unvoiced filter impulse response;

Here the vocal tract, voiced and unvoiced filters are assumed to have respectively the following shapes in the z-transform domain:

$\begin{matrix} {{H_{c}(z)} = {\sum\limits_{p = 0}^{P}{{h_{c}(p)}z^{- p}}}} & (7) \\ {{{H_{v}(z)} = {\sum\limits_{m = {- \frac{M}{2}}}^{\frac{M}{2}}{{h_{v}(m)}z^{- m}}}},} & (8) \\ {{{H_{u}(z)} = \frac{K}{1 - {\sum\limits_{l = 1}^{L}{{g(l)}z^{- 1}}}}},} & (9) \end{matrix}$

where P, M and L are respectively the orders of H_(c)(z), H_(v)(z) and H_(u)(z). Filter H_(c)(z) is considered to have minimum-phase response because it represents the impulse response of the vocal tract filter. In addition, if the coefficients of H_(u)(z) to be calculated according to the approach described in R. Maia, T. Toda, H. Zen, Y. Nakaku, and K. Tokuda, “An excitation model for HMM-based speech synthesis based on residual modelling,” in Proc. of the 6^(th) ISCA Workshop on Speech Synthesis, 2007 then H_(c)(z) also has minimum-phase response. Parameters of the generative model above comprise the vocal tract, voiced and unvoiced filters, H_(c)(z), H_(v)(z) and H_(u)(z), and the positions and amplitudes of t(n), {p₀ . . . p_(Z-1)}, and {a₀ . . . a_(Z-1)} with Z being the number of pulses. Although there are several ways to estimate H_(v)(z) and H_(u)(z), this report will be based on the method described in R. Maia, T. Toda, H. Zen, Y. Nakaku, and K. Tokuda, “An excitation model for HMM-based speech synthesis based on residual modelling,” in Proc. of the 6^(th) ISCA Workshop on Speech Synthesis, 2007.

Using matrix notation, with uppercase and lowercase capital letters meaning respectively matrices and vectors, Eq(6) can be written as:

s=H _(c) H _(v) t+s _(u),  (10)

where

$\begin{matrix} {{s = \left\lbrack {{s\left( {- \frac{M}{2}} \right)}\ldots \mspace{14mu} {s\left( {N + \frac{M}{2} + P - 1} \right)}} \right\rbrack^{T}},} & (11) \\ {{H_{c} = \left\lbrack {{\overset{\sim}{h}}_{c}^{(0)}\ldots \mspace{14mu} {\overset{\sim}{h}}_{c}^{({N + M - 1})}} \right\rbrack},} & (12) \\ {{h_{c}^{(i)} = \left\lbrack {\underset{i}{\underset{}{0\ldots \mspace{14mu} 0}}{h_{c}(0)}\ldots \mspace{14mu} {h_{c}(P)}\underset{N + M - i - 1}{\underset{}{0\ldots \mspace{14mu} 0}}} \right\rbrack^{T}},} & (13) \\ {{H_{v} = \left\lbrack {{\overset{\sim}{h}}_{v}^{(0)}\ldots \mspace{14mu} {\overset{\sim}{h}}_{v}^{({N - 1})}} \right\rbrack},} & (14) \\ {{{\overset{\sim}{h}}_{v}^{(i)} = \left\lbrack {\underset{i}{\underset{}{0\ldots \mspace{14mu} 0}}{h_{v}\left( {- \frac{M}{2}} \right)}\ldots \mspace{14mu} {h_{v}\left( \frac{M}{2} \right)}\underset{N - i - 1}{\underset{}{0\ldots \mspace{14mu} 0}}} \right\rbrack^{T}},} & (15) \\ {{t = \left\lbrack {{t(0)}\ldots \mspace{14mu} {t\left( {N - 1} \right)}} \right\rbrack^{T}},} & (16) \\ {s_{u} = {\left\lbrack {\underset{\frac{M}{2}}{\underset{}{0\ldots \mspace{14mu} 0}}{s_{u}(0)}\ldots \mspace{14mu} {s_{u}\left( {N + L - 1} \right)}\underset{\frac{M}{2} + P - L}{\underset{}{0\ldots \mspace{14mu} 0}}} \right\rbrack^{T}.}} & (17) \end{matrix}$

The vector s_(u) contains samples of

s _(u)(n)=h _(c)(n)*h _(u)(n)*w(n),  (17)

and can be interpreted as the error of the model for voiced regions of the speech signal, with covariance matrix

Φ=H _(c)(G ^(T) G)⁻¹ H _(c) ^(T),  (19)

where

$\begin{matrix} {{G = \left\lbrack \begin{matrix} {\overset{\sim}{g}}^{(0)} & \ldots & \overset{\sim}{g} \end{matrix}^{({N + M - 1})} \right\rbrack},} & (20) \\ {{\overset{\sim}{g}}^{(1)} = {\begin{bmatrix} \underset{\underset{i}{}}{{0\mspace{14mu} \ldots}\mspace{14mu},0} & \frac{1}{K} & \frac{g(1)}{K} & \ldots & \frac{g(L)}{K} & \underset{\underset{N + M - i - 1}{}}{0\mspace{14mu} \ldots \mspace{14mu} 0} \end{bmatrix}^{T}.}} & (21) \end{matrix}$

As w(n) is Gaussian white noise, u(n)=h_(u)(n)*w(n) becomes a normally distributed stochastic process. By using vector notation, probability u is

p(u|G)=N(u;0,(G ^(T) G)⁻¹),  (22)

Where N(x;μ,Σ) is the Gaussian distribution of x with mean vector μ and covariance matrix Σ. Thus since

u(n)=H _(c) ⁻¹(z)[s(n)−h(n)*h _(v)(n)*t(n)],  (23)

the probability of speech vector s becomes

p(s|H _(c) ,H _(v) ,G,t)=N(s;H _(c) H _(v) t,H _(c)(G ^(T) G)⁻¹ H _(c) ^(T)).  (24)

If the last P rows of H_(c) are neglected, which means neglecting the zero-impulse response of H_(c)(z) which produces samples

$\left\{ {{s\left( {N + \frac{M}{2}} \right)},\ldots \mspace{14mu},{s\left( {N + \frac{M}{2} + P - 1} \right)}} \right\},$

then H_(c) becomes square with dimensions (N+M)×(N+M) equation (24) can be re-written as:

p(s|H _(c) ,λ _(e))=|H _(c)|⁻¹ N(H _(c) ⁻¹ s;H _(v) t,(G ^(T) G)⁻¹),  (25)

where λ_(e)={H_(v),G,t} are parameters of the excitation modelling part of the speech generative model. It is interesting to note that the term H_(c) ⁻¹s corresponds to the residual sequence, extracted from the speech signal s(n) through inverse filtering by H_(c)(z).

By assuming that H_(v) and H_(u) have a state-dependent parameter tying structure as that proposed in R. Maia, T. Toda, H. Zen, Y. Nakaku, and K. Tokuda, “An excitation model for HMM-based speech synthesis based on residual modelling,” in Proc. of the 6^(th) ISCA Workshop on Speech Synthesis, 2007 Eq. (25) can be re-written as

p(s|H _(c) ,q,λ _(e))=|H _(c)|⁻¹ N(H _(c) ⁻¹ s;H _(v,q) t,(G _(q) ^(T) G _(q))⁻¹),  (26)

where H_(v,q) and G_(q) are respectively the voiced filter and inverse unvoiced filter impulse response matrices for state sequence q.

There is usually a one-to-one relationship between the vocal tract impulse response H_(c) (or coefficients of H_(c)(z)) and spectral features c. However, it is difficult to compute H_(c), from c in a closed form for some spectral feature representations. To address this problem, a stochastic approximation is introduced to model the relationship between c and H.

If the mapping between c and H_(c) is considered to be represented by a Gaussian process with probability p(H_(c)|c,q,λ_(h)) where λ_(h) is the parameter set of the model that maps spectral features onto vocal tract filter impulse response, p(s|c,q,λ_(e)) becomes:

$\begin{matrix} {{p\left( {\left. s \middle| c \right.,q,\lambda_{c}} \right)} = {\int{{p\left( {\left. s \middle| {H_{c}q} \right.,\lambda_{e}} \right)}{p\left( {\left. H_{c} \middle| c \right.,q,\lambda_{h}} \right)}{H_{c}}}}} & (27) \\ {\mspace{140mu} {{= {\int{{N\left( {{{H_{c}^{- 1}s};{H_{v,q}t}},\left( {G_{q}^{T}G_{q}} \right)^{- 1}} \right)}{N\left( {{H_{c};{f_{q}(c)}},\Omega_{q}} \right)}}}},}} & (28) \end{matrix}$

Where f_(q)(c) is an approximated function to convert c to H_(c) and Ω_(q) is the covariance matrix of the Gaussian distribution in question. This representation includes the case that H_(c) can be computed from c in a closed form as its special case, i.e. f_(q)(c) becomes the mapping function in the closed form and Ω_(q) becomes a zero matrix. It is interesting to note that the resultant model becomes very similar to that of a shared factor analysis model if a linear function for f_(q)(c) is utilized and it has a parameter sharing structure dependent on q.

If a trajectory HMM is used as an acoustic model p(c|l,λ_(c)) then p(c|q,λ_(c)) and p(q|l,λ_(c)) can be defined as:

$\begin{matrix} {{{p\left( {\left. c \middle| q \right.,\lambda_{c}} \right)} = {N\left( {{c;{\overset{\_}{c}}_{q}},P_{q}} \right)}},} & (29) \\ {{{p\left( {\left. q \middle| l \right.,\lambda_{c}} \right)} = {\pi_{q\; o}{\prod\limits_{t = 1}^{T - 1}\; \alpha_{q_{t}q_{t + 1}}}}},} & (30) \end{matrix}$

where π_(i) is the initial state probability of state i, α_(ij) is the state transition probability from state i to state j, and c _(q) and P_(q) correspond to mean vector and covariance matrix of trajectory HMM for q. In Eq. (29), c _(q) and P_(q) are given as

R _(q) c _(q)=τ_(q),  (31)

R _(q) =W ^(T)Σ_(q) ⁻¹ W=P _(q) ⁻¹,  (32)

r _(q) =W ^(T)Σ_(q) ⁻¹μ_(q), (33)

where W is typically a 3T(C+1)×T(C+1) window matrix that appends dynamic features(velocity and acceleration features) to c. For example, if the static, velocity, and acceleration features of c_(t), Δ⁽⁰⁾c_(t), Δ⁽¹⁾c_(t) and Δ⁽²⁾c_(t) are calculated as:

Δ⁽⁰⁾ z _(t) =z _(t),  (34)

Δ⁽¹⁾ z _(t)=(z _(t+1) −z _(t−1))/2,  (35)

Δ⁽²⁾ z _(t) =z _(t−1)−2z _(t) +z _(t+1),  (36)

then W is as follows

$\begin{matrix} {\begin{bmatrix} \vdots \\ {\Delta^{(0)}c_{t - 1}} \\ {\Delta^{(1)}c_{t - 1}} \\ {\Delta^{(2)}c_{t - 1}} \\ {\Delta^{(0)}c_{t}} \\ {\Delta^{(1)}c_{t}} \\ {\Delta^{(2)}c_{t}} \\ {\Delta^{(0)}c_{t + 1}} \\ {\Delta^{(1)}c_{t + 1}} \\ {\Delta^{(2)}c_{t + 1}} \\ \vdots \end{bmatrix} = {\begin{bmatrix} \ldots & \vdots & \vdots & \vdots & \vdots & \ldots \\ \ldots & 0 & I & 0 & 0 & \ldots \\ \ldots & {{- I}/2} & 0 & {I/2} & 0 & \ldots \\ \ldots & I & {{- 2}\; I} & I & 0 & \ldots \\ \ldots & 0 & 0 & I & 0 & \ldots \\ \ldots & 0 & {{- I}/2} & 0 & {I/2} & \ldots \\ \ldots & 0 & I & {{- 2}\; I} & I & \ldots \\ \ldots & 0 & 0 & 0 & I & \ldots \\ \ldots & 0 & 0 & {{- I}/2} & 0 & \ldots \\ \ldots & 0 & 0 & I & {{- 2}\; I} & \ldots \\ \ldots & \vdots & \vdots & \vdots & \vdots & \ldots \end{bmatrix}\begin{bmatrix} \vdots \\ c_{t - 2} \\ c_{t - 1} \\ c_{t} \\ c_{i + 1} \\ \vdots \end{bmatrix}}} & (37) \end{matrix}$

where I and 0 correspond to the (C+1)×(C+1) identity and zero matrices. λ_(q) and Σ_(q) ⁻¹ in Eqs. (32) and (33) corresponds to the 3T(C+1)×1 mean parameter vector and the 3T(C+1)×3 T(C+1) precision parameter matrix for the state sequence q, given as

μ_(q)=[μ_(q) ₀ ^(T) . . . μ_(q) _(T−1) ^(T)]^(T),  (38)

Σ_(q) ⁻¹=diag{Σ_(q) ₀ ⁻¹, . . . , Σ_(q) _(T−1) ⁻¹},  (39)

where μ_(i) and Σ_(i) correspond to the 3(C+1) mean-parameter vector and the 3(C+1)×3(C+1) precision-parameter matrix associated with state i, and Y=diag {X₁, . . . , X_(D)} means that matrices {X₁, . . . , X_(D)} are diagonal sub-matrices of Y. Mean parameter vectors and precision parameter matrices are defined as

μi=[Δ⁽⁰⁾μ_(i) ^(T)Δ⁽¹⁾μ_(i) ^(T)Δ⁽²⁾μ_(i) ^(T)]^(T),  (40)

Σ_(i) ⁻¹=diag{Δ⁽⁰⁾Σ_(i) ⁻¹,Δ⁽¹⁾Σ_(i) ⁻¹,Δ⁽²⁾Σ_(i) ^(T)}, (41)

Where Δ^((j))μ_(i) and Δ^((j))Σ_(i) ⁻¹ correspond to the (C+1)×1 mean parameter vector and (C+1)×(C+1) precision parameter matrix associated with state i.

The final parameter model is obtained by combing the acoustic and excitation models via the mapping model as:

$\begin{matrix} {{{p\left( {\left. s \middle| l \right.,\lambda} \right)} = {\sum\limits_{q}{\int{\int{{p\left( {\left. s \middle| H_{c} \right.,q,\lambda_{e}} \right)}{p\left( {\left. H_{c} \middle| c \right.,q,\lambda_{h}} \right)}{p\left( {\left. c \middle| q \right.,\lambda_{c}} \right)}{p\left( {\left. q \middle| l \right.,\lambda_{c}} \right)}{H_{c}}{c}}}}}},} & (42) \end{matrix}$

where

$\begin{matrix} {{{p\left( {\left. s \middle| H_{c} \right.,q,\lambda_{e}} \right)} = {{H_{c}}^{- 1}{N\left( {{{H_{c}^{- 1}s};{H_{v,q}t}},\left( {G_{q}^{T}G_{q}} \right)^{- 1}} \right)}}},} & (43) \\ {{{p\left( {\left. H_{c} \middle| c \right.,q,\lambda_{h}} \right)} = {N\left( {{H_{c};{f_{q}(c)}},\Omega_{q}} \right)}},} & (44) \\ {{{p\left( {\left. c \middle| q \right.,\lambda_{c}} \right)} = {N\left( {{c;{\overset{\_}{c}}_{q}},P_{q}} \right)}},} & (45) \\ {{{p\left( {\left. q \middle| l \right.,\lambda_{c}} \right)} = {\pi_{qo}{\prod\limits_{t = 1}^{T - 1}\; \alpha_{q_{t}q_{t + 1}}}}},} & (46) \end{matrix}$

Where λ={λ_(e),λ_(h),λ_(c)}

There are various possible spectral features, such as cepstral coefficients, linear prediction coefficients (LPC), line spectral pairs (LSPs) and their frequency warped versions. In this embodiment cepstral coefficients are considered as a special case. The mapping from a cepstral coefficient vector, c_(t)=[c_(t)(0) . . . c_(t)(C)]^(T), to its corresponding vocal tract filter impulse response vector h_(c,t)=[h_(c,t)(0) . . . h_(c,t)(P)]^(T) can be written in a closed form as

h _(c,t) =D _(s)*·EXP[D _(s) c _(t)],  (47)

Where EXP [.] means a matrix which is derived by taking the exponential of the elements of [.] and D is a (P+1)×(C+1) DFT (Discrete Fourier Transform) matrix,

$\begin{matrix} {{D_{s} = \begin{bmatrix} 1 & 1 & \ldots & 1 \\ 1 & W_{P + 1} & \ldots & W_{P + 1}^{C} \\ \vdots & \vdots & \; & \vdots \\ 1 & W_{P + 1}^{P} & \ldots & W_{P + 1}^{PC} \end{bmatrix}},} & (48) \end{matrix}$

With

W _(P+1) =e ^(−2π/P+1j),  (49)

and D* is a (P+1)×(P+1) IDFT (Inverse DFT) matrix with the following form

$\begin{matrix} {D_{s}^{*} = {{\frac{1}{P + 1}\begin{bmatrix} 1 & 1 & \ldots & 1 \\ 1 & W_{P + 1}^{- 1} & \ldots & W_{P + 1}^{- P} \\ \vdots & \vdots & \; & \vdots \\ 1 & W_{P + 1}^{- P} & \ldots & W_{P + 1}^{- P^{2}} \end{bmatrix}}.}} & (50) \end{matrix}$

As the mapping between cepstral coefficients and vocal tract filter response can be computer in a closed form. There is no need to use a stochastic approximation between c and H_(c).

The vocal tract filter impulse response-related term that appears in the generative model of Eq. (10) is H_(C) not h_(c). Relationship between H_(C) given as Eqs. (12) and (13), and h_(c) is given by

h _(c) =[h _(c,0) ^(T) . . . h _(c,T−1) ^(T)]^(T)  (51)

h _(c,t) [h _(c,t)(0) . . . h _(c,t)(P)]^(T)  (52)

With h_(c,t) being the synthesis filter impulse response of the t-th frame and T the total of frames, can be written as

$\begin{matrix} {H_{c} = {\sum\limits_{n = 0}^{N - 1}{J_{n}{Bh}_{c}{j_{n}^{T}.}}}} & (53) \end{matrix}$

In Eq. (53), N is the number of samples (of the database), and

$\begin{matrix} {{j_{n} = \begin{bmatrix} \underset{\underset{n}{}}{0\mspace{14mu} \ldots \mspace{14mu} 0} & 1 & \underset{\underset{N - 1 - n}{}}{0\mspace{14mu} \ldots \mspace{14mu} 0} \end{bmatrix}^{T}},} & (54) \\ {{B = \begin{bmatrix} I_{P + 1} & 0_{{P + 1},{P + 1}} & \ldots & 0_{{P + 1},{P + 1}} \\ \vdots & \vdots & \; & \vdots \\ I_{P + 1} & 0_{{P + 1},{P + 1}} & \ldots & 0_{{P + 1},{P + 1}} \\ \ldots & \ldots & \ldots & \ldots \\ \vdots & \vdots & \; & \vdots \\ \ldots & \ldots & \ldots & \ldots \\ 0_{{P + 1},{P + 1}} & 0_{{P + 1},{P + 1}} & \ldots & I_{P + 1} \\ \vdots & \vdots & \; & \vdots \\ 0_{{P + 1},{P + 1}} & 0_{{P + 1},{P + 1}} & \ldots & I_{P + 1} \end{bmatrix}},} & (55) \end{matrix}$

Where B is an N(P+1)×T(P+1) matrix to map a frame-basis h_(c) vector into sample-basis. It should be noted that the square version of H_(c) is considered by neglecting the last P rows. The N×N(P+1) matrices J_(n) are constructed as

$\begin{matrix} {{J_{0} = \begin{bmatrix} I_{P + 1} & {I_{P + 1},{{N\left( {P + 1} \right)} - P - 1}} \\ \ldots & \ldots \\ 0_{{N - P - 1},{P + 1}} & 0_{{N - P - 1},{{N{({P + 1})}} - P - 1}} \end{bmatrix}},} & (56) \\ {{J_{1} = \begin{bmatrix} 0_{{1P} + 1} & 0_{{1P} + 1} & 0_{1,{{N{({P + 1})}} - {2\; P} - 2}} \\ \ldots & \ldots & \ldots \\ 0_{P + {1P} + 1} & I_{P + 1} & 0_{{P + 1},{{N{({P + 1})}} - {2\; P} - 2}} \\ \ldots & \ldots & \ldots \\ 0_{{N - P - 2},{P + 1}} & 0_{{N - P - 2},{P + 1}} & 0_{{N - P - 2},{{N{({P + 1})}} - {2\; P} - 2}} \end{bmatrix}},\vdots} & (57) \\ {J_{N - 1} = \begin{bmatrix} 0_{{N - 1},{{N{({P + 1})}} - P - 1}} & 0_{{N - 1},1} & 0_{{N - 1},P} \\ \ldots & \ldots & \ldots \\ 0_{1,{{N{({P + 1})}} - P - 1}} & 1 & 0_{1,P} \end{bmatrix}} & (58) \end{matrix}$

where 0_(X,Y) means a matrix of zeros elements with X rows and Y columns, and I_(X) is an X-size identity matrix.

The training of the model will now be described with reference to FIGS. 5 and 6.

The training allows the parameters of the joint model X to be estimated such that:

$\begin{matrix} {{\hat{\lambda} = {\arg \; {\max\limits_{\lambda}{p\left( {\left. s \middle| l \right.,\lambda} \right)}}}},} & (59) \end{matrix}$

where λ={λ_(e),λ_(h),λ_(c)} with λ_(e)={H_(v),G,t} corresponding to parameters of the excitation model, and λ={m,σ} consisting of parameters of the acoustic model

m=[μ ₀ ^(T) . . . μ_(S−1) ^(T)]′,  (60)

σ=vdiag{diag{Σ₀ ⁻¹, . . . , Σ_(S−1) ⁻¹}},  (61)

where S is the number of states. m and σ are respectively vectors formed by concatenating all the means and diagonals of the inverse covariance matrices of all states, with vdiag {[.]} meaning a vector formed by the diagonal elements of [.].

The likelihood function p(s|l,λ) assuming cepstral coefficients as spectral features, is

$\begin{matrix} {{{p\left( {\left. s \middle| l \right.,\lambda} \right)} = {\sum\limits_{\forall\; q}{\int{\int{{p\left( {\left. s \middle| H_{c} \right.,q,\lambda_{e}} \right)}{p\left( {\left. H_{c} \middle| c \right.,q,\lambda_{h}} \right)}{p\left( {\left. c \middle| q \right.,\lambda_{c}} \right)}{p\left( {\left. q \middle| l \right.,\lambda_{c}} \right)}{H_{c}}{c}}}}}},} & (62) \end{matrix}$

Unfortunately, estimation of this model through the expectation-maximization (EM) is intractable. Therefore, an approximate recursive approach is adopted.

If the summation over all possible g in Eq. (62) is approximated by a fixed state sequence the likelihood function above becomes

p(s|l,λ)≈∫∫p(s|H _(c) ,{circumflex over (q)},λ _(e))p(H _(c) |c,{circumflex over (q)},λ _(h))p(c|{circumflex over (q)},λ _(c))p({circumflex over (q)}|l,λ _(c))dc,  (63)

where {circumflex over (q)}={{circumflex over (q)}₀, . . . , {circumflex over (q)}_(T−1)} is the state sequence. Further, if the integration over all possible c is approximated by a spectral vector and an impulse response vector, then Eq. (64) becomes

p(s|l,λ)≈p(s|Ĥc,{circumflex over (q)},λ _(e))p(Ĥ _(c) |ĉ,{circumflex over (q)},λ _(h))p(ĉ|{circumflex over (q)},λ _(c))p({circumflex over (q)}|l,λ _(c)),  (64)

where ĉ=[ĉ₁ . . . ĉ_(T−1)]^(T) is the fixed spectral response vector.

By taking the logarithm of Eq. (64) or cost function to be maximized is obtained through update of acoustic, excitation and mapping model parameters

L=log p(s|Ĥc,{circumflex over (q)},λ _(e))+log p(Ĥ _(c) |ĉ,{circumflex over (q)},λh)+log p(ĉ|{circumflex over (q)},λ _(c))+log p({circumflex over (q)}| _(l),λ_(c)).  (65)

The optimization problem can be split into two parts: initialization and recursion. The following explains the calculations performed in each part. Initialisation will be described with reference to FIG. 5 and recursion with reference to FIG. 6.

The model is trained using training data which is speech data with corresponding text data and which is input in step S210

Part 1—Initialization

-   -   1. In step S203 speech data is extracted from an initial         cepstral coefficient vector

c=[c ₀ ^(T) . . . c _(T−1) ^(T)],  (66)

c _(t) =[c _(c)(0) . . . c _(c)(C)]^(T).  (67)

-   -   2. In step S205 trajectory HMM parameters λ_(c) are trained         using c

$\begin{matrix} {\hat{\lambda_{c}} = {\arg \; {\max\limits_{\lambda \; c}{{p\left( c \middle| \lambda_{c} \right)}.}}}} & (68) \end{matrix}$

-   -   3. In step S207 the best state sequence {circumflex over (q)}is         determined as the Viterbi path from the trained models by using         the algorithm of H. Zen, K. Tokuda, and T. Kitamura,         “Reformulating the HMM as a trajectory model by imposing         explicit relationships between static and dynamic feature vector         sequence,” Computer Speech and Language, vol. 21, pp. 153-173,         January 2007.

$\begin{matrix} {\hat{q} = {\arg \; {\max\limits_{q}{{p\left( {c,\left. q \middle| \lambda_{c} \right.} \right)}.}}}} & (69) \end{matrix}$

-   -   4. In step S209, the mapping model parameters λ_(h) are         estimated assuming {circumflex over (q)} and c.

$\begin{matrix} {\hat{\lambda_{h}} = {\arg \; {\max\limits_{\lambda_{e}}{{p\left( {\left. H_{c} \middle| c \right.,\hat{q},\lambda_{h}} \right)}.}}}} & (70) \end{matrix}$

-   -   5. In step S211, the excitation parameters λ_(e) are estimated         assuming {circumflex over (q)} and c, by using one iteration of         the algorithm described in R. Maia, T. Toda, H. Zen, Y. Nakaku,         and K. Tokuda, “An excitation model for HMM-based speech         synthesis based on residual modelling,” in Proc. of the 6^(th)         ISCA Workshop on Speech Synthesis, 2007.

$\begin{matrix} {\hat{\lambda_{e}} = {\arg \; {\max\limits_{\lambda_{e}}{{p\left( {\left. s \middle| H_{c} \right.,\hat{q},\lambda_{e}} \right)}.}}}} & (71) \end{matrix}$

Part 2: Recursion

-   1. In step S213 of FIG. 6 the best cepstral coefficient vector c is     estimated using the log likelihood function of Eq. (65)

$\begin{matrix} {\hat{c} = {\arg \; {\max\limits_{c}\; {\mathcal{L}.}}}} & (72) \end{matrix}$

-   2. In step S215 the vocal tract filter impulse responses H_(c) are     estimated assuming {circumflex over (q)} and ĉ.

$\begin{matrix} {{\hat{H}}_{c} = {\arg \; {\max\limits_{H_{c}}{\mathcal{L}.}}}} & (73) \end{matrix}$

-   3. In step S217 excitation model parameters λ_(e) are updated     assuming {circumflex over (q)} and Ĥ_(c)

$\begin{matrix} {{\hat{\lambda}}_{e} = {\arg \; {\max\limits_{\lambda_{e}}\; {\mathcal{L}.}}}} & (74) \end{matrix}$

-   4. In step S219 acoustic model parameters are updated

$\begin{matrix} {{\hat{\lambda}}_{c} = {\arg \; {\max\limits_{\lambda_{c}}\; {\mathcal{L}.}}}} & (75) \end{matrix}$

-   5. In step S221 mapping model parameters are updated

$\begin{matrix} {{\hat{\lambda}}_{h} = {\arg \; {\max\limits_{\lambda_{h}}\; {\mathcal{L}.}}}} & (76) \end{matrix}$

The recursive steps may be repeated several times. In the following each one of them is explained with details

The recursion terminates until convergence. Convergence may be determined in many different ways, in one embodiment, convergence will be deemed to have occurred when the change in likelihood is less than a predefined minimum value. For example the change in likelihood L is less than 5%.

In step 1 S 213 of the recursion, if cepstral coefficients are used as the spectral features then the likelihood function of Eq. (65) can be written as

$\begin{matrix} {{\mathcal{L} = {{- \frac{1}{2}}\left\{ {{\left( {N + M} \right){\log \left( {2\; \pi} \right)}} + {\log {{G_{q}^{T}G_{q}}}} - {2\; \log {H_{c}}} + {s^{T}H_{c}^{- T}G_{q}^{T}G_{q}H_{c}^{- 1}{s--}2s^{T}H_{c}^{- T}G_{q}^{T}G_{q}H_{v,q}t} + {t^{T}H_{v,q}^{T}G_{q}^{T}G_{q}H_{v,q}t} + {{T\left( {C + 1} \right)}{{\log \left( {2\; \pi} \right)}--}\log {R_{q}}} + {c^{T}R_{q}c} - {2\; r_{q}^{T}c} + {r_{q}^{T}R_{q}^{- 1}r_{q}}} \right\}}},} & (77) \end{matrix}$

Where the terms that depend on c can be selected to compose the cost function h_(c) given by:

$\begin{matrix} {\mathcal{L}_{c} = {{{- \frac{1}{2}}s^{T}H_{c}^{- T}G_{q}^{T}G_{q}H_{c}^{- 1}s} + {\log {H_{c}}} + {s^{T}H_{c}^{- T}G_{q}^{T}G_{q}H_{v,q}t} - {\frac{1}{2}c^{T}R_{q}c} + {r_{q}^{T}{c.}}}} & (78) \end{matrix}$

The best cepstral coefficient vector ĉ can be defined as the one which maximizes the cost function h_(c). By utilizing the steepest gradient ascent algorithm (see for example J. Nocedal and S. J. Wright, Numerical Optimization. Springer, 1999) or another optimization method such as the Broyden Fletcher Goldfarb Shanno (BFGS) algorithm, each update for ĉ can be calculated by

$\begin{matrix} {{{\hat{c}}^{({i + 1})} = {{\hat{c}}^{(i)} + {\gamma \frac{\partial\mathcal{L}_{c}}{\partial c}}}},} & (79) \end{matrix}$

Where is the convergence factor (constant), t is the iteration index, and

$\begin{matrix} {{\frac{\partial\mathcal{L}}{\partial c} = {{D^{T}{{DIAG}\left( {{EXP}\lbrack{Dc}\rbrack} \right)}D^{*T}B^{T}\left\{ {\sum\limits_{n = 0}^{N - 1}{J_{n}^{T}{H_{c}^{- T}\left\lbrack {{G_{q}^{T}{G_{q}\left( {e - v} \right)}e^{T}} - I} \right\rbrack}j_{n}}} \right\}} - {R_{q}c} + r_{q}}},} & (80) \end{matrix}$

with Diag ([.]) meaning a diagonal matrix formed with the elements of vector [.], and

$\begin{matrix} {{e = {H_{c}^{- 1}s}},} & (81) \\ {{v = {H_{v,q}t}},} & (82) \\ {{D = {{diag}\left\{ \underset{\underset{T}{}}{D_{s},\ldots \mspace{14mu},D_{s}} \right\}}},} & (83) \\ {D = {{diag}{\left\{ \underset{\underset{T}{}}{D_{s}^{*},\ldots \mspace{14mu},D_{s}^{*}} \right\}.}}} & (84) \end{matrix}$

In the above, the iterative process will continue until convergence. In a preferred embodiment, convergence will have occurred when the difference between successive iterations is less than 5%.

In Step 3 S217 of the recursive procedure, excitation parameters λ_(e)={H_(v),G,G} are calculated by using one iteration of the algorithm describe in R. Maia, T. Toda, H. Zen, Y. Nakaku, and K. Tokuda, “An excitation model for HMM-based speech synthesis based on residual modelling,” in Proc. Of the 6^(th) ISCA Workshop on Speech Synthesis, 2007. In this case the estimated cepstral vector ĉ is used to extract the residual vector e=H_(c) ⁻¹s through inverse filtering.

In step 4 S219 estimation of acoustic model parameters λ={m,σ} is done as described in H. Zen, K. Tokuda, and T. Kitamura, “Reformulating the HMM as a trajectory model by imposing explicit relationships between static and dynamic feature vector sequence,” Computer Speech and Language, vol. 21, pp. 153-173, January 2007, by utilizing the best estimated cepstral vector ĉ as the observation.

The above training method uses a set of model parameters λ_(h) of a mapping model to describe the uncertainty of H_(c) predicted by f_(q)(c).

However, in an alternative embodiment, a deterministic case is assumed where f_(q)(c) perfectly predicts H_(c). In this embodiment, there is no uncertainty between H_(c) and f_(q)(c) and thus λ_(h) is no longer required.

In such a scenario, the mapping model parameters are set to zero in step S209 of FIG. 5 and are not re-estimated in the S221 of FIG. 6.

FIG. 7 is a flow chart of a speech synthesis method in accordance with an embodiment of the present invention.

Text is input at step S251. An acoustic model is run on this text and features including spectral features and F0 features are extracted in step S253.

An impulse response filter function is generated in step S255 from the spectral features extracted in step S253.

The input text is also inputted into excitation model and excitation model parameters are generated from the input text in step S257.

Returning to the features extracted in step S253, the F0 features extracted at this stage are converted into a pulse train in step S259. The pulse train is filtered using voiced filter function which has been generated in step S257.

White noise is generated by a white noise generator. The white noise is then filtered in step S263 using unvoiced filter function which was generated in step S257. The voiced excitation signal which has been produced in step S261 and the unvoiced excitation signal which has been produced in step S263 are then mixed to produce mixed excitation signal in step S265.

The mixed excitation signal is then filtered in step S267 using impulse response which was generated in step S255 and the speech signal is outputted.

By training acoustic and excitation models through joint optimization, the information which is lost during speech parameter extraction, such as phase information, may be recovered at run-time, resulting in synthesized speech which sounds closer to natural speech. Thus statistical parametric text-to-speech systems can be produced with the capability of producing synthesized speech which may sound very similar to natural speech.

While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of methods and systems described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms of modifications as would fall within the scope and spirit of the inventions. 

1. A speech processing method comprising: receiving a text input and outputting speech corresponding to said text input using a stochastic model, said stochastic model comprising an acoustic model and an excitation model, said acoustic model having a plurality of model parameters describing probability distributions which relate a word or part thereof to a feature, said excitation model comprising excitation model parameters which are used to model the vocal chords and lungs to output the speech using said features; wherein said acoustic parameters and excitation parameters have been jointly estimated; and outputting said speech.
 2. A speech synthesis method according to claim 1, wherein said text input is processed by said acoustic model to output F0 and spectral features, the method further comprising: processing said F0 features to form a pulse train and filtering said pulse train using excitation parameters derived from said excitation model to produce an excitation signal and filtering said excitation signal using filter parameters derived from said spectral features.
 3. A method of training a statistical model for speech synthesis, the method comprising: receiving training data, said training data comprising speech and text corresponding to said speech; training a stochastic model, said stochastic model comprising an acoustic model and an excitation model, said acoustic model having a plurality of model parameters describing probability distributions which relate a word or part thereof to a feature vector, said excitation model comprising excitation model parameters which model the vocal chords and lungs to output the speech; wherein said acoustic parameters and excitation parameters are jointly estimated during said training process.
 4. A method according to claim 3, wherein said acoustic model parameters comprise means and variances of said probability distributions.
 5. A method according to claim 3, wherein the features output by said acoustic model comprise F0 features and spectral features.
 6. A method according to claim 5, wherein said excitation model parameters comprise filter coefficients which are configured to filter a pulse signal derived from F0 features.
 7. A method according to claim 3, wherein said joint estimation process comprises a recursive process where in one step excitation parameters are updated using the latest estimate of acoustic parameters and in another step acoustic model parameters are updated using the latest estimate of excitation parameters.
 8. A method according to claim 3, wherein said joint estimation process uses a maximum likelihood technique.
 9. A method according to claim 5, wherein said stochastic model further comprises a mapping model and said mapping model comprises mapping model parameters, said mapping model being configured to map spectral features to filter coefficients which represent the human vocal tract.
 10. A method according to claim 3, wherein the parameters are jointly estimated as: ${\hat{\lambda} = {\arg \; {\max\limits_{\lambda}{p\left( {\left. s \middle| l \right.,\lambda} \right)}}}},$ where λ represents the parameters of the excitation model and acoustic model to be optimised, s is the natural speech waveform and l is a transcription of the speech waveform.
 11. A method according to claim 10, wherein λ further comprises parameters of a mapping model configured to map spectral parameters to a filter function to represent the human vocal tract.
 12. A method according to claim 11, wherein the relationship between the spectral features and filter coefficients is modelled as a Gaussian process.
 13. A method according to claim 11, wherein p(s|l,λ) is expressed as: $\begin{matrix} {{p\left( {\left. s \middle| l \right.,\lambda} \right)} = {\sum\limits_{\forall q}{\int{\int{{p\left( {\left. s \middle| H_{c} \right.,q,\lambda_{e}} \right)}{p\left( {\left. H_{c} \middle| c \right.,q,\lambda_{h}} \right)}{p\left( {\left. c \middle| q \right.,\lambda_{c}} \right)}{p\left( {\left. q \middle| l \right.,\lambda_{c}} \right)}{H_{c}}{{c}.}}}}}} & (62) \end{matrix}$ where H_(c) is the filter function used to model the human vocal tract, q is the state, λ_(e) are the excitation parameters, λ_(c) the acoustic model parameters, λ_(h) the mapping model parameters and c are the spectral features.
 14. A method according to claim 13, wherein the summation over q is approximated by a fixed state sequence to give: p(s|l,λ)≈∫∫p(s|H _(c) ,{circumflex over (q)},λ _(e))p(H _(c) |c,{circumflex over (q)},λ _(h))p(c|{circumflex over (q)},λ _(c))p({circumflex over (q)}|l,λ _(c))dc,  (63) where {circumflex over (q)}={{circumflex over (q)}₀, . . . , {circumflex over (q)}_(T−1)} is the state sequence
 15. A method according to claim 14, wherein the integration over all possible H_(c) and c is approximated by spectral response and impulse response vectors to give: p(s|l,λ)≈p(s|Ĥc,{circumflex over (q)},λ _(e))p(Ĥ _(c) |ĉ,{circumflex over (q)},λ _(h))p(ĉ|{circumflex over (q)},λ _(c))p({circumflex over (q)}|l,λ _(c)),  (64) where ĉ=[ĉ₁ . . . ĉ_(T−1)]^(T) is the fixed spectral response vector.
 16. A method according to claim 15, wherein the log likelihood function of p(s|l,λ) is given by: L=log p(s|Ĥc,{circumflex over (q)},λ _(e))+log p(Ĥ _(c) |ĉ,{circumflex over (q)},λh)+log p(ĉ|{circumflex over (q)},λ _(c))+log p({circumflex over (q)}| _(l),λ_(c)).  (65)
 17. A carrier medium carrying computer readable instructions for controlling the computer to carry out the method of claim
 1. 18. A speech processing apparatus comprising: a receiver for receiving a text input which comprises a sequence of words; and a processor, said processor being configured to determine the likelihood of output speech corresponding to said input text using a stochastic model, said stochastic model comprising an acoustic model and an excitation model, said acoustic model having a plurality of model parameters describing probability distributions which relate a word or part thereof to a feature, said excitation model comprising excitation model parameters which are used to model the vocal chords and lungs to output the speech using said features; wherein said acoustic parameters and excitation parameters have been jointly estimated, wherein said apparatus further comprises an output for said speech.
 19. A speech to speech translation system comprising an input speech recognition unit, a translation unit and a speech synthesis apparatus according to claim
 18. 